home *** CD-ROM | disk | FTP | other *** search
/ Network CD 1 / Network CD.iso / c / ppshow.doc < prev    next >
Text File  |  1994-01-12  |  17KB  |  398 lines

  1.  
  2.  
  3.                             PPShow 2.3 User Manual
  4.  
  5.                                  Oct 31, 1992
  6.  
  7.  
  8.  
  9. Preface
  10. =======
  11.  
  12. The programs and files in this distribution are freely distributable, but are
  13. also copyright (c) Nico François.  They may be freely distributed as long as
  14. no more than a nominal fee is charged to cover time and copying costs.
  15.    No commercial usage is permitted without written permission from the
  16. author.  Everything in this distribution must be kept together, in original
  17. unmodified form.
  18.    The above is generally known as freeware.
  19.  
  20.    If you have suggestions or remarks about this program, or if you find
  21. any bugs, please let me know.
  22.  
  23.    Contacting the author:
  24.  
  25.      Fido:  2:292/603.10 (Nico Francois)
  26.  
  27.      UUCP:  Nico.Francois@p10.f603.n292.z2.FidoNet.Org
  28.  
  29.      Mail:  Nico François
  30.             Corbielaan 13
  31.             B-3060 Bertem
  32.             BELGIUM
  33.  
  34.    If you can please use e-mail.  That way you'll stand a much better chance
  35. of getting a reply quickly.
  36.  
  37.    PPShow 2.3 requires AmigaDOS Release 2 (Kickstart & Workbench 2.0) or
  38. higher to run.
  39.  
  40.  
  41. Contents
  42. ========
  43.  
  44. 1. An introduction
  45.  
  46. 2. Usage
  47.  
  48. 3. Features
  49.  
  50. 4. Note on crunching
  51.  
  52.  
  53. 1. An introduction
  54. ==================
  55.  
  56.    PPShow was written to complement one of my other utilities, PowerPacker
  57. (a command and data cruncher).  It is used to show normal IFF ILBM files or
  58. ILBM files crunched with PowerPacker.  The decrunching is done automatically
  59. so the user doesn't have to know if a file is crunched or not.
  60.  
  61.    PPShow uses 'powerpacker.library' and 'reqtools.library', so make sure
  62. these are present in your Libs: directory.  Double-click 'Install_libs' for
  63. an automatic installation.
  64.  
  65.    If you haven't got PowerPacker you are of course missing one of the main
  66. features of this program.  PowerPacker is available as shareware (up to
  67. version 2.3b) or as a commercial program (version 4.0a).  Order a copy from
  68. UGA, P.O.Box 881, 3700 AW Zeist, The Netherlands or from JumpDisk, 1493 Mt.
  69. View Ave., Chico CA 95926, USA.  The commercial version offers several
  70. enhancements like 40 to 50 times faster crunching, overlay support, an ARexx
  71. port, and much more.
  72.  
  73.  
  74. 2. Usage
  75. ========
  76.  
  77.    PPShow can be used in several different ways.
  78.  
  79. - First of all via the CLI:
  80.  
  81.    If you enter 'PPShow ?' you will get a standard AmigaDOS usage template,
  82. enter 'PPShow ??' for more information.  You use PPShow like this:
  83.  
  84.    PPShow {{file}|<dir>|-c} [LO] [HI] [SHI] [PROD] [L=LACE] [NL=NOLACE]
  85.           [HAM] [TIME s] [NOCYCLE] [NO=NOOVERSCAN] [A2024 [15Hz]]
  86.           [PAL] [NTSC] [VGA] [LOOP] [NOFLICKER]
  87.  
  88.    The program will by default load the specified ILBM file and display it.
  89. If the file was crunched using PowerPacker 2.0 or higher PPShow will first
  90. decrunch it for you.  If the file was encrypted you will be prompted for the
  91. password.  You may specify more than one file on the command line and you may
  92. even use wildcards, PPShow will show all files one at a time, double buffering
  93. the display.
  94.  
  95.    If you specify "-c" as a filename ('PPShow -c') PPShow will show you the
  96. contents of the clipboard (if it contains an ILBM).
  97.  
  98.    When PPShow encounters a GIF file (common on MS-DOS systems) it will try to
  99. execute a GIF viewer to show this picture.  Default GIF viewer that is run is
  100. the very fast TurboGIF, but any viewer can be selected by setting the
  101. environment variable GIFVIEWER.  You can include options in this variable.
  102. For example: ' SetEnv GIFVIEWER "TurboGIF -k7" '.  Make sure the GIF viewer is
  103. in your path.
  104.  
  105.    If you enter PPShow without options, you will be presented with a
  106. file requester.  Entering PPShow with a directory instead of a file as an
  107. argument will also get you a requester, but it will be positioned in the
  108. directory you specified.
  109.  
  110.    There are several command line options:
  111.  
  112.      LO         : Force screen to open in LORES        mode.
  113.      HI         :   ''    ''    ''   ''   HIRES         ''
  114.      SHI        :   ''    ''    ''   ''   SUPERHIRES    ''
  115.      PROD       :   ''    ''    ''   ''   PRODUCTIVITY  ''
  116.      LACE       : Force interlace on.
  117.      NOLACE     : Force interlace off.
  118.      HAM        : This switch is used to select HAM mode when no CAMG chunk
  119.                   is found.  If you don't specify this switch PPShow will
  120.                   assume a 6 plane screen is extra-halfbrite. Note that this
  121.                   switch does not force HAM mode, it merely instruct PPShow
  122.                   to use HAM mode in case of doubt.
  123.      TIME s     : Display pictures for 's' seconds.
  124.      NOCYCLE    : Do not start cycling automatically.
  125.      NOOVERSCAN : Disable overscan.
  126.      LOOP       : Display all pictures in a loop, press CTRL-D to abort.
  127.      PAL        : Use 'pal.monitor'.
  128.      NTSC       : Use 'ntsc.monitor'.
  129.      VGA        : Use 'multiscan.monitor'. Please note that when using VGA,
  130.                   LO puts the screen in EXTRALORES, HI in LORES and SHI in
  131.                   PRODUCTIVITY (same as PROD).
  132.      A2024      : Use 'a2024.monitor'.
  133.      15Hz       : Put A2024 monitor into 15Hz, rather than 10Hz.
  134.      NOFLICKER  : Kickstart 3.0 only.  If possible use a non-interlaced
  135.                   monitor mode ('DoublePAL.monitor' or 'DoubleNTSC.monitor').
  136.  
  137.    PPShow can be made resident so it doesn't have to be loaded every time
  138. you use it, use the c: Resident command for this.  You can't make PPShow
  139. resident when it is crunched!!  The file is supplied as an uncrunched command
  140. file with the pure bit set.  PPShow is reentrant as well, so you can run it
  141. from several CLI's at the same time.  (Not that this is very useful, but it's
  142. possible :-)
  143.  
  144.    Examples:
  145.  
  146.     o PPShow dh0:pics/HAMpicWithoutCAMG.pic HAM
  147.  
  148.     o PPShow dir/#?.pic TIME 5 LOOP
  149.  
  150.        Show all files in directory 'dir' with a '.pic' suffix for 5 seconds
  151.        and loop until user presses CTRL-D.
  152.  
  153.     o PPShow PICS:~(#?.info) NOOVERSCAN
  154.  
  155.        Show all files on 'PICS:' NOT ending in '.info'. Disable overscan.
  156.  
  157.  
  158. - Via the WorkBench:
  159.  
  160.    There are three different ways of using PPShow via the workbench: you
  161. can set the default tool of the (crunched) ILBM file to 'PPShow', you can
  162. single click the PPShow icon and then extend-select one or more picture icons
  163. (use shift click, double-clicking the last one) or you can double-click the
  164. PPShow icon and specify a filename using the file requester.
  165.    You set the default tool by single clicking the icon of the picture and
  166. selecting 'Information' from the 'Icons' menu.  You will get a window with
  167. several gadgets in it, click in the string gadget where it says 'Default tool'
  168. and enter ':ppshow'.  PPShow should be in the root directory of your disk for
  169. this to work, if e.g.  it's in the system directory you should enter
  170. ':system/ppshow'.  Last of all select the 'Save' gadget.
  171.  
  172.    Following tooltypes are recognized by PPShow (in the pictures' icon, not
  173. PPShow's icon):
  174.  
  175.      HAM        : See CLI option.
  176.      TIME=s     : Display picture for 's' seconds.
  177.      NOCYCLE    : Do not start cycling automatically.
  178.      NOOVERSCAN : Disable overscan.
  179.      NOFLICKER  : Kickstart 3.0 only.  If possible use a non-interlaced
  180.                   monitor mode.
  181.  
  182.  
  183. NOTE: - Follow these steps to make a simple slideshow that runs by double-
  184.         clicking an icon:  Make a script file containing something like the
  185.         following line: 'PPShow #?.pic TIME 10 LOOP'.  Set this script's
  186.         default tool to 'c:IconX' and enter 'WINDOW=CON://///AUTO' in its
  187.         tooltypes.  Put the script in a directory containing pictures (all
  188.         ending in '.pic'!).  If you now double-click this scripts icon the
  189.         slideshow will start, press ESC or CTRL-D to end.
  190.       - PPShow will add '.pp' to the filename when the file wasn't found.
  191.         This is very useful in the Workbench enviroment: you can make an
  192.         icon for 'house.pic' but name the file 'house.pic.pp'.  Now the
  193.         WorkBench will show an icon with 'house.pic' as name, but if you
  194.         doubleclick it 'house.pic.pp' will be displayed. (As long as there
  195.         is no 'house.pic' file in the directory!)
  196.       - Drag as many monitor icons to the WbStartup or Monitors drawer as
  197.         your monitor allows.  For example: if you have a multiscan monitor
  198.         drag pal, ntsc and multiscan.monitor to your Monitors drawer.  If
  199.         you do this you will have maximum ease of use of PPShow.
  200.  
  201.  
  202. 3. Features
  203. ===========
  204.  
  205.    - PPShow fully supports the 16.8 million colors and HAM8 mode of the AA
  206.      (AGA) chips set of the Amiga 4000 and Amiga 1200.
  207.  
  208.    - Abort PPShow by pressing 'Q', CTRL-C or the right mouse button.  Press
  209.      CTRL-D to abort everything and to break a script.
  210.  
  211.    - PPShow offers full overscan and monitor support: PAL, NTSC, VGA, A2024.
  212.  
  213.    - You can scroll very big pictures by pressing and holding the left mouse
  214.      button and dragging.  While you are dragging the picture the pointer
  215.      will become visible.
  216.      Note that the screen itself can be dragged by pressing Left-Amiga,
  217.      holding down the left mouse button and moving the mouse (you may have
  218.      to press something else than Left-Amiga, depending on your 'IControl'
  219.      preferences setting).
  220.  
  221.    - PPShow can be used as a simple slideshow tool.  It supports wildcards
  222.      to simplify this.
  223.  
  224.    - Deluxe Paint color cycling is supported, press <TAB> to (de)activate.
  225.      Up to 8 cycles are supported (DPaint III currently only supports 6).
  226.  
  227.    - The pesky little mouse will be removed while displaying.  Press 'M' to
  228.      toggle the mouse pointer on/off.
  229.  
  230.    - Press 'L' to load another picture, you will be presented with the
  231.      file requester.
  232.  
  233.  
  234. 4. Note on crunching
  235. ====================
  236.  
  237.    A lot of IFF ILBM files are already crunched with the standard ByteRun1
  238. compression.  PowerPacker will crunch these files even further (most of the
  239. time) but will not crunch them as well as uncrunched ILBM files.  So save IFF
  240. files uncrunched (if you can, e.g. with PixMate) before crunching them, this
  241. way you will get the best crunching results.
  242.  
  243.  
  244.                         As always, I hope you find this program useful!
  245.  
  246.  
  247.                               PROGRAM HISTORY:
  248.  
  249. *****************************************************************************
  250. VERSION 1.0
  251.  
  252.      First release.
  253.  
  254. *****************************************************************************
  255. VERSION 1.1
  256.  
  257.      Decrunching is about 40% faster (accidently used slow decruncher in 1.0)
  258.      Screen now pops to front when picture is ready to be viewed, not before.
  259.      File requester used when arp.library is available.
  260.      'L' command added to load other pictures without restarting PPShow.
  261.  
  262. *****************************************************************************
  263. VERSION 1.1a
  264.  
  265.      The Guru isn't with me lately, after using a slow decruncher in 1.0
  266.        by accident I now used a fast but faulty decruncher in 1.1. It
  267.        sometimes didn't decrunch correctly, this has now been fixed. The
  268.        decruncher is still 40% faster than the 1.0 one. (and it's 2 bytes
  269.        shorter :^D )
  270.  
  271. *****************************************************************************
  272. VERSION 1.2
  273.  
  274.      Rewrote cycling routine in assembly, so less overhead when cycling.
  275.      Uses the all new powerpacker.library => shorter code.
  276.      Starting PPShow from the CLI with a directory as an argument now puts
  277.        up the requester positioned in that directory. Extremely useful once
  278.        you get used to this :^)
  279.      If you are running Workbench 2.0 PPShow will use the asl.library
  280.        instead of the arp.library (for the file requester).
  281.      Fixed serious bug: memory wasn't freed when an IFF error occured.
  282.      No longer tries to display small brushes (intuition doesn't like very
  283.        small screens :( )
  284.  
  285. *****************************************************************************
  286. VERSION 2.0
  287.  
  288.      PPShow requires Kickstart 2.0 to run.  Sorry to all the 1.2 and 1.3
  289.        users, just consider this program as another reason to upgrade :-)
  290.  
  291.      File requester from arp.library is no longer supported.
  292.      PPShow now uses reqtools.library (also by moi) for its requesters.
  293.        Among other things this means a much better file requester than
  294.        before (with a buffer).  Asl is no longer used, sorry Commodore :-)
  295.      Printing of screen removed, has anybody ever used this ? :-)
  296.      Improved command line format, follows AmigaDOS standard. (old option
  297.        '-h' is no longer supported!).
  298.      IFF decrunching rewritten in assembly: much faster and shorter.
  299.      Shows pictures saved in DPaint with stencil on. In other words: supports
  300.        IFF picture masking.
  301.      No longer quits when you press any key, you have to press 'Q', CTRL-C,
  302.        or right mouse button; CTRL-D aborts PPShow and breaks scripts.
  303.      Color cycling is now automatically switched on (except for brushes).
  304.      Mouse pointer visibility can be toggled.
  305.      Possibility to automatically stop displaying after a specified number
  306.        of seconds.
  307.      Many new command line options: change display resolution, switch off
  308.        overscan, disable auto-cycling, etc.
  309.      Several options may be set using Workbench tooltypes.
  310.      From Workbench, if you single-click PPShow and shift double-click a
  311.        drawer icon, PPShow will open up the file requester in that drawer.
  312.      If you use 'PPShow <file>' or extend-select <file> from Workbench and
  313.        you invoke the file requester, it will be positioned in the directory
  314.        <file> is in.
  315.      The file requester will appear on the picture screen if possible.
  316.      Canceling the file requester no longer quits PPShow.
  317.      The file requester will filter out the .info files.
  318.      Can be used as a simple slideshow program: supports wildcards and
  319.        multiple files on command line, also possible to loop the slideshow.
  320.        Picture switching is double buffered.  Multiple extended selection
  321.        from Workbench is also supported.
  322.      Overscan now done using Kickstart 2.0 display clips.
  323.      Supports all new ECS display modes (ECS Denise only) and all monitors.
  324.      Will switch to PAL or NTSC monitor automatically (ECS Agnus only).
  325.      PPShow will now show very large screens without problem, AUTOSCROLL is
  326.        switched on so the screen automatically scrolls when you move the
  327.        mouse pointer off the edge.
  328.      Screen no longer has an invisible dragbar.  Use meta-dragging (left
  329.        Amiga key + mouse) to drag the screen.
  330.      Directories are expanded to their full pathnames on startup.
  331.      PPShow now returns a returncode of 20 in case of an error or if ended
  332.        by CTRL-D.
  333.      Error reporting improved: when started from CLI, errors are printed
  334.        on the console; when started from Workbench, a requester is used.
  335.      All these great new features and PPShow grew only about 1K in size :-)
  336.  
  337.      Release 12-Jan-92
  338.      ~~~~~~~~~~~~~~~~~
  339.      Now distributed with release 1.0c of reqtools.library.
  340.      Install script fixed.
  341.  
  342. *****************************************************************************
  343. VERSION 2.1
  344.  
  345.      Uses Workbench 2.0's iffparse.library for best IFF support.
  346.      Displays SHAM (Sliced HAM), DHAM (Dynamic HAM) and DRES (Dynamic Hires,
  347.        DigiView 4.0 and MacroPaint) files.
  348.      Executes TurboGIF (by Steve Borden) or any other GIF viewer (set by var
  349.        ENV:GIFVIEWER) if it encounters a GIF file.
  350.      Will hunt for ILBM pictures in all IFF files.  E.g. shows first picture
  351.        of animation files.
  352.      Is able to show the contents of the clipboard (if filename is "-c").
  353.      Allows you to scroll big pictures by holding down the left mouse button
  354.        and dragging.  This also works for SHAM, DHAM and DRES pictures.
  355.        PPShow will update the copper list these pictures require while
  356.        scrolling.
  357.      PPShow will no longer abort upon encountering a file that is not IFF, or
  358.        not IFF ILBM.  It will try to show the next file in the wildcard/list.
  359.      When using a wildcard directories will be ignored, instead of bringing
  360.        up the file requester.
  361.  
  362. *****************************************************************************
  363. VERSION 2.2
  364.  
  365.      Version number skipped because of a fake 2.2 version of PPShow.
  366.  
  367. *****************************************************************************
  368. VERSION 2.3
  369.  
  370.      Support added for Kickstart 3.0 and the new graphics modes of the AA
  371.        chip set.  PPShow fully supports palettes of up to 16.8 milion colors
  372.        and the HAM8 mode.  Color cycling in 16.8 million colors is not yet
  373.        supported.
  374.      On Kickstart 3.0 and pictures with enough colors PPShow will pick four
  375.        colors for the GUI (file requester).  If not enough colors are
  376.        available or on Kickstart 2.0 the palette will be temporarily reset
  377.        when needed.
  378.      Maximum overscan used is now OSCAN_MAX instead of OSCAN_VIDEO.  This is
  379.        much more system friendly.
  380.      New switch added for Kickstart 3.0 users: NOFLICKER.  Will try to use a
  381.        non-interlaced display mode to show the picture (DBLPAL or DBLNTSC).
  382.      Release 2.0c of reqtools.library included.
  383.  
  384. *****************************************************************************
  385.  
  386. PPShow 2.3 written by Nico François (Yes, Nico is my first name :-)
  387.            thanks to Ives Aerst for all the suggestions and beta-testing.
  388.  
  389.  
  390. "Sometimes people can be oh so dense" - Pixies
  391.  
  392.  
  393. (c) 1991/1992 Nico François
  394.  
  395.                                    //
  396.                        Thanks to \X/ Amiga for being the best computer ever!
  397.  
  398.